home *** CD-ROM | disk | FTP | other *** search
- DOSMENU LOGIN UTILITY
- ══════════════════════════════════════════════════════════════════════════════
-
- Version 6.4c
- June 1994
- (C)Copyright 1993-1994 by Skip Bremer
-
- Note: DMlogin is normally sold as part of the DOSmenu network menu system
- package. To evaluate the entire package, you need to download DOSMNU.EXE as
- well, if you do not already have it.
-
- DMlogin is a fantastic utility for helping to bring true order and security to
- your network during the login and logout process. For ordering information,
- please see the end of this document.
-
- This program is NOT required by DOSmenu and DOSmenu is NOT required of
- DMlogin. They are separate entities, but they work great together!
-
- DMlogin acts as a buffer between your user and the actual network login and
- logout commands. Here is how you set it up. The batch files below contain
- the basic minimum requirements. You may doctor them up as you need -- we
- certainly have on our network.
-
-
- First
- ═════
-
- You run DMLOGIN.EXE by itself so that it can create its INI file. This file
- defines the following:
-
- o The DOS variable to be used by DMlogin to pass the login and logout
- commands/batch files to DOS.
-
- o The name of the command/batch file to be passed by DMlogin when logging
- in to the network. If you enter the full path and extension (like
- F:\LOGIN\_LOGIN.BAT), then DMlogin will alert you if it is missing and
- will not let the user go.
-
- o The name of a second command/batch file to be passed by DMlogin when
- logging in to the network when a user places a '*' in front of their
- name. This is optional and can be used to provide an alternate login for
- support/power users, etc. The same path option entry as above applies.
-
- o The name of a third command/batch file to be passed by DMlogin when
- logging in to the network when a user places a '+' in front of their
- name. This is optional and can be used to provide an alternate login for
- support/power users, etc. The same path option entry as above applies.
-
- o The name of the command/batch file to be passed by DMlogin when force
- logging out of the network. The same path option entry as above applies.
-
- o The background screen color (check DOSMENU.DOC for how to set this).
-
- o The top and bottom information lines color (check DOSMENU.DOC for how to
- set this.)
-
- o Whether to use the CRT border or not.
-
- o The title of the user's login screen.
-
- o The help number for your network support area.
-
- o Whether to use the fancy screen saver (yes) or the normal one (no). The
- fancy one is a graphic of a computer terminal while the normal one is a
- business-like statement.
-
-
- Second
- ══════
-
- Make your batch files. For these examples, the INI file answers look like
- this:
-
- _DMLOGIN - the DOS variable
- _LOGIN - the batch file DMlogin calls to login
- - the alternate login batch file is not specified
- _LOGOUT - the batch file DMlogin calls to logout
-
- LOGIN.BAT
- ─────────
- This is the main batch file your users will type (or get from their
- AUTOEXEC.BAT) to log in. On NetWare, you should rename LOGIN.EXE to, say,
- IN.EXE (as shown in the examples).
-
- @echo off
- dmlogin %1 ;%1 in case someone types 'login name'
- call %_dmlogin% ;if DMlogin received good info from user, then run _login
- ;call is in case there is more to your batch file
-
- _LOGIN.BAT
- ──────────
- This is the batch file called by DMlogin to effect a login
-
- @echo off
- in %1 %2 ;in is really the old network LOGIN.EXE program
- if exist f:\public\*.* goto END ;did we get logged in?
- dmlogin /error ;must not have gotten logged in, so show error screen
- login %1 ;run main batch file again
- :END
-
- _LOGOUT.BAT
- ───────────
- This is the batch file called by DMlogin to effect a logout
- out ;out is really the old network LOGOUT.EXE program
- login ;run main batch file again
-
- As previously stated, you can add to these batch files as needed. We are just
- showing you the basic bare necessities that DMlogin needs in order to work
- properly.
-
-
- Third
- ═════
-
- Place the command that starts the process for your users in their
- AUTOEXEC.BAT, like login for LOGIN.BAT (if this is the case, you probably will
- have to rename the network login command to something else. We rename
- LOGIN.EXE to IN.EXE and LOGOUT.EXE to OUT.EXE on our network.
-
- Optionally, consider using DMPAUSE.EXE instead of PAUSE in your network user
- batch files. It helps prevent batch file breakout.
-
- That's all there is to it! You may need to read the DMUSERS.DOC for some
- specifics on batch file placements on NetWare networks if you get strange
- error messages at times during the logout process.
-
-
- Important Note
- ══════════════
-
- These programs and files should be placed in your users' login directory on
- the network (\LOGIN for NetWare). They work great there, but probably won't
- anywhere else due to other directories "going away" on logout.
-
-
- Password Protected Exit Option
- ══════════════════════════════
- If you need to be able to abort from this program from time to time as an
- administrator, then DMlogin can contain a secret password for that purpose.
- Then, when ever you press Escape, you will be prompted for this password. If
- correct, an errorlevel of 255 will be passed to DOS, when can be used like
- this:
-
- .
- .
- dmlogin
- if errorlevel 255 goto ABORT
- call %dmlogin%
- :ABORT
- .
- .
-
- To make this password, edit a file new called DMLOGIN.DAT that is in the same
- directory as DMLOGIN.EXE. Enter a one-line password of 8 characters or less
- and then press Enter at the end of the line (Should be a one-line file). Then
- enter the following command:
-
- DMUTIL /C DMLOGIN.DAT
-
- DMutil will encrypt the file for you. Now you can secretly abort DMlogin.
-
-
- Shareware - Ordering
- ════════════════════
-
- DMlogin is sold as part of the DOSmenu package. If you do not have DOSmenu,
- you can download it from Compuserve, the NOVUSERS/New Uploads forum. The file
- name is DOSMNU.EXE.
-
- To order DOSmenu (with DMlogin) directly, contact the author, Skip Bremer, by
-
- calling: 512-328-2465
-
- or
-
- writing: Skip Bremer -DOSmenu
- 3401 Cactus Wren Way
- Austin TX 78746
-
- or
-
- Compuserve: CIS 71614,2556.
-